//通用配置

class ComCfg {
    public static InitLineLevel : number = 1;           //默认鱼线级别
    public static InitHookLevel : number = 1;           //默认鱼钩级别
    public static MaxFishType : number = 4;             //鱼的类型数量

    public static MeterPixel : number = 40;             //1米多少像素
    public static LoopTime : number = 30;               //背景图片循环间隔(毫秒)
    public static DownPixel : number = 40;              //鱼钩每次循环下降多少像素
    public static UpPixel : number = 5;                 //鱼钩每次循环上升多少像素
    public static UpPixelQuick : number = 100;          //鱼钩每次循环上升多少像素(加速状态)
    public static CreateFishOffset : number = 80;       //上下移动多少像素后，创建一个鱼
    public static MinSpeed : number = 1;                //鱼的最小移动速度
    public static MaxSpeed : number = 3;                //鱼的最大移动速度
    public static HookRadiusX : number = 15;            //鱼钩的水平碰撞半径
    public static HookRadiusY : number = 10;            //鱼钩的垂直碰撞半径

    public static Scores : number[] =                   //各个类型的鱼对应的金币数量
    [15, 20, 25, 30];

    public static LineLevel : number[][] =              //鱼线级别 [长度][升级需要金币]
    [
        [30, 100],
        [40, 130],
        [50, 170],
        [60, 220],
        [70, 300],
        [80, 400],
        [90, 530],
        [100, 700],
        [110, 900],
        [120, 1200]
    ];
    public static HookLevel : number[][] =              //鱼钩级别 [数量][升级需要金币]
    [
        [2, 100],
        [3, 130],
        [4, 170],
        [5, 220],
        [6, 300],
        [7, 400],
        [8, 530],
        [9, 700],
        [10, 900],
        [11, 1200]
    ];
}